checkLogin();

var success = function (res) {
    var info = res.data.info;
    var html = template('about_us',info);
    $('#about_us_content').append(html);
    var send_area = '该商户未填写';
    var notice = "该商户未填写";
    if(info.send_area != undefined && info.send_area != null && info.send_area != ''){
        send_area = info.send_area;
    }
    if(info.notice != undefined && info.notice != null && info.notice != ''){
        notice = info.notice;
    }

    //订水须知点击查看
    $('#notice').on('tap',function () {
        malert(notice,'订水须知');
    })

    //配送范围点击查看
    $('#send_area').on('tap',function () {
        malert(send_area,'配送范围');
    })
}
getData(shop_info,comParams(),success);